function attr(name: string): string;
function attr(age: number): number;
function attr(nameOrage: unknown): unknown {
  if (typeof nameOrage === "string") {
    return attr("姓名");
  } else {
    return attr("年龄");
  };
};

